#include <fcntl.h>
#include <sys/mman.h>
#include <stdio.h>
#include <string.h>

int main(int argc, char *argv[])
{
  if (argc != 2 || strcmp(argv[1],"--help") == 0)
    printf("usage: %s shm-name\n", argv[0]);
  if (shm_unlink(argv[1]) == -1)
    printf("Failed to unlink shared memory\n");
  return 0;
}
